﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<script src="../../Scripts/MicrosoftAjax.js" type="text/javascript"></script>
    <script src="../../Scripts/MicrosoftMvcAjax.js" type="text/javascript"></script>
 <script src="../../Scripts/jquery-1.7.js" type="text/javascript"></script>
  <script language="javascript" type="text/javascript">
      jQuery(document).ready(function () {
          $(' #abc').click(function () {
              $("#test").load('/Calendar/Index2', function (data) {
                  alert(data);
              });
          });


      });
   </script>
    <title>Index</title>
</head>
<body>
    <div>
    <% Html.RenderAction("Logon", "Account");%> 
    <p>Đây là trang chủ</p>
          <%= Html.ActionLink("Test","Test") %>
           <p>Đây là trang download</p>
            <% Html.RenderAction("Download", "download", new { pjid=1 });%> 
            <p>Trang calendar</p>
            <p>   <%= Html.ActionLink("Calendar","Index","Calendar") %></p>
             <p>Trang User calendar</p>
            <p>   <%= Html.ActionLink("Calendar","Index","UserCalendar") %></p>
             <p>  <%=Ajax.ActionLink("Lich", "Index2","Calendar", new AjaxOptions { UpdateTargetId = "test" })%>   </p>
    </div>
    <p id="abc">Test</p>
    <div id="test" style="height:5000px">12324567</div>
</body>
</html>
